package enumeration

type MenuLevel int

const (
	MenuLevelOne MenuLevel = iota + 1
	MenuLevelTwo
)

func (ml MenuLevel) MenuLevelString() string {
	switch ml {
	case MenuLevelOne:
		return "一级菜单"
	case MenuLevelTwo:
		return "二级菜单"
	default:
		return "未知"
	}
}
